<?php 
    include_custom("/views/admin/header.php");
?>

<div id="main_container">

<div class="header">
      <?php 
    include_custom("/views/admin/menu_header.php");
    ?>      
    </div>
    
    <div class="main_content">
    
            <?php 
    include_custom("/views/admin/menu.php");
?>        
                    
                    
                    
                    
    <div class="center_content">  

    
    <div class="right_content">            
        
    <h2>Thông tin chi tiết tài khoản</h2> 
                    
                    
<table id="rounded-corner" summary="">
    <thead>
    	<tr>
            <th scope="col" class="rounded">Đặc tính</th>
            <th scope="col" class="rounded">Gía trị</th>
        </tr>
    </thead>
        <tfoot>
    	<tr>
        	<td class="rounded-foot-left"><em></em></td>
        	<td class="rounded-foot-right">&nbsp;</td>

        </tr>
    </tfoot>
    <tbody> 
    	<tr>
            <td>Mã số:</td>
            <td><?php echo $account->id; ?></td>
        </tr>
        	<tr>
            <td>Họ:</td>
            <td><?php echo $account->firstname; ?></td>
        </tr>
        	<tr>
            <td>Tên:</td>
            <td><?php echo $account->lastname; ?></td>
        </tr>
        	<tr>
            <td>Ngày sinh:</td>
            <td><?php echo $account->birthday; ?></td>
        </tr>
        	<tr>
            <td>Địa chỉ:</td>
            <td><?php echo $account->address; ?></td>
        </tr>
        	<tr>
            <td>Số điện thoại:</td>
            <td><?php echo $account->phone; ?></td>
        </tr>
        	<tr>
            <td>Email:</td>
            <td><?php echo $account->email; ?></td>
        </tr>
        	<tr>
            <td>Tên tài khoản:</td>
            <td><?php echo $account->username; ?></td>
        </tr>
        	<tr>
            <td>Nhóm quyền:</td>
            <td><?php echo $account->role; ?></td>
        </tr>
        	<tr>
            <td>Ngày đăng ký:</td>
            <td><?php echo $account->registerdate; ?></td>
        </tr>
        	<tr>
            <td>Tình trạng:</td>
            <td><?php if($account->status != 0) echo "Hoạt động"; else echo "Không hoạt động"; ?></td>
        </tr>
        
    </tbody>
</table>

	 <a href="index.php?rt=admin/delete_account&id=<?php echo $account->id; ?>" class="bt_green"><span class="bt_green_lft"></span><strong>Xóa tài khoản</strong><span class="bt_green_r"></span></a>
     <a href="index.php?rt=admin/edit_account&id=<?php echo $account->id; ?>" class="bt_red"><span class="bt_red_lft"></span><strong>Chỉnh sửa thông tin tài khoản</strong><span class="bt_red_r"></span></a> 

     </div><!-- end of right content-->
                                
  </div>   <!--end of center content -->               
                    
<?php 
    include_custom("/views/admin/footer.php");
?>s